package kingwing.dc.core.model;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import com.bstek.dorado.annotation.PropertyDef;

/**
 * 新闻分类表
 * @author Kevin
 * 2017年9月17日
 */
@Entity
@Table(name="DC_NEWS_CAT")
public class NewsCat extends BaseEntity {

	/**
	 * 
	 */
	private static final long serialVersionUID = -5867014552472947930L;
	
	@PropertyDef(label="新闻类名")
	@Column(name="NEW_NAME_",length=125)
	private String newName;
	
	@PropertyDef(description="新闻分类角标")
	@Column(name="TYPE_",length=125)
	private int type;
	
	@PropertyDef(label="信息ID")
	@Column(name="INFOS_ID_",length=512)
	private String infosId;
	
	@PropertyDef(label="信息标题")
	@Column(name="INFOS_TITLE_",length=512)
	private String infosTitle;
	
	@PropertyDef(label="规则名称")
	@Column(name="RULE_NAME_",length=512)
	private String ruleName;

	public String getRuleName() {
		return ruleName;
	}

	public void setRuleName(String ruleName) {
		this.ruleName = ruleName;
	}

	public String getNewName() {
		return newName;
	}

	public void setNewName(String newName) {
		this.newName = newName;
	}

	public int getType() {
		return type;
	}

	public void setType(int type) {
		this.type = type;
	}

	public String getInfosId() {
		return infosId;
	}

	public void setInfosId(String infosId) {
		this.infosId = infosId;
	}

	public String getInfosTitle() {
		return infosTitle;
	}

	public void setInfosTitle(String infosTitle) {
		this.infosTitle = infosTitle;
	}

}
